<template>
  <div>
    <button @click="test">click</button>
    <HelloWorld msg="test" />
    <button @click="test">click2</button>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import HelloWorld from '@/components/HelloWorld.vue'
import path from 'path'

@Component({
  components: {
    HelloWorld
  }
})
export default class Demo extends Vue {
  private test () {
    const a = 1
    console.info('ss' + path.resolve('/'))
    // this.$router.push("/");
    this.$message.warning('警告呀')
    // this.$loading
  }
}
</script>
<style></style>
